<?php
/* SVN FILE: $Id: admin_generate.ctp 20 2009-09-27 13:31:47Z kenreily@gmail.com $ */
/**
 * Short description for file.
 *
 * Long description for file
 *
 * PHP versions 4 and 5
 *
 * Recenseo: Online submission and reviewing for education
 * Copyright 2008-2009, Ken Reily
 *
 * Licensed under The MIT License
 * Redistributions of files must retain the above copyright notice.
 *
 * $Date: 2009-09-27 13:31:47 +0000 (Sun, 27 Sep 2009) $
 * $Revision: 20 $
 * $Author: kenreily@gmail.com $
 * $HeadURL: http://recenseo.googlecode.com/svn/trunk/app/views/assigned_assessments/admin_generate.ctp $
 */
?>
<dl>
  <dt>Course</dt>
  <dd><?php echo $html->link($assignment['Course']['name'],'/assignments/index/' . $assignment['Course']['id']); ?></dd>
  
  <dt>Assignment</dt>
  <dd><?php echo $assignment['Assignment']['name']; ?></dd>
  
  <dt>Due</dt>
  <dd><?php echo $time->nice($assignment['Assignment']['due']); ?></dd>
  
  <dt>Cutoff</dt>
  <dd><?php echo $time->nice($assignment['Assignment']['cutoff']); ?></dd>

  <dt>Assessments</dt>
  <dd><?php echo $asmtCount; ?></dd>
</dl> 

<?php
  echo $form->create('AssignedAssessment',array('action' => "/generate/{$assignment['Assignment']['id']}"));
  echo $form->input('reviewer_user_id',array('label' => 'Select TA:'));
  echo $form->end('Save and Generate');
?>
